@echo off
echo Testing College Score API...
echo.

echo Test 1: Query by Province (Jiangsu)
curl -X GET "https://api.gugudata.com/metadata/ceecollegeline?appkey=E6X2G4QC2VC2LA3WN3K46KLCVAZKEXLM&searchtype=PROVINCENAME&keyword=%E6%B1%9F%E8%8B%8F&year=2024&pageindex=1&pagesize=5" -H "Accept: application/json" -H "User-Agent: Mozilla/5.0"
echo.
echo.

echo Test 2: Query by College Name (Beijing University)
curl -X GET "https://api.gugudata.com/metadata/ceecollegeline?appkey=E6X2G4QC2VC2LA3WN3K46KLCVAZKEXLM&searchtype=COLLEGENAME&keyword=%E5%8C%97%E4%BA%AC%E5%A4%A7%E5%AD%A6&year=2024&pageindex=1&pagesize=5" -H "Accept: application/json" -H "User-Agent: Mozilla/5.0"
echo.
echo.

echo API testing completed.
pause
